package com.atguigu.statisticsservice.client;

import com.atguigu.commonutils.R;
import org.springframework.stereotype.Component;

/**
 * Hystrix熔断器实现类
 */
@Component
public class MemberFeignClient implements MemberClient{
    @Override
    public R registerCount(String day) {
        return R.error().message("time out");
    }
}
